<?php
namespace app\controller\admin;

use app\BaseController;
use app\lib\response\JSON;

class Operation extends BaseController
{

    public function list()
    {
       $list = \app\model\Operation::order('id','desc')->paginate();
        return JSON::page($list->total(),$list->items());
    }


}
